import Vue from 'vue';
import Router from 'vue-router';
import HelloWorld from '@/components/HelloWorld';

Vue.use(Router);

export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: () => import('@/pages/home.vue')
    },
    {
      path: '/blockIndex',
      name: 'block',
      component: () => import('@/pages/blockIndex.vue')
    },
    {
      path: '/translateIndex',
      name: 'translate',
      component: () => import('@/pages/translateIndex.vue')
    },
    {
      path: '/addressIndex',
      name: 'address',
      component: () => import('@/pages/addressIndex.vue')
    }
  ]
});
